]> dgit.raspbian.org Git - gnome-shell.git/commit
dbusServices: Allow replacement
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 3 Feb 2022 00:57:46 +0000 (01:57 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 7 Feb 2022 18:44:34 +0000 (18:44 +0000)
commit8d8eba000fa54865ba2635328b6aed8a151686a2
tree23a737aa802ea8306990289d971dbe6ea832b2f9
parentae053f954f886be71f198cf8a8c1d4f32af6d366
dbusServices: Allow replacement

The REPLACE flag we currently pass is useless, as replacing the service
is disallowed when not started with the ALLOW_REPLACEMENT flag.

Fix this by adopting a more standard pattern where replacement is always
allowed, but only actually requested when `--replace` is passed on the
command line.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2152>
js/dbusServices/dbusService.js